package domain;

import java.util.Date;

public class User {
    private Integer id;
    private String realName;
    private String userName;
    private String phoneNum;
    private String password;
    private Date registerTime;
    private Integer experience;
    private Integer rank;
    private Integer gold;
    private String email;
    private String address;
    private String gender;
    private Integer age;
    private String certificateNo;
    private String certificateType;

    public User() {
    }

    public User(Integer id, String realName, String userName, String phoneNum, String password, Date registerTime, Integer experience, Integer rank, Integer gold, String email, String address, String gender, Integer age, String certificateNo, String certificateType) {
        this.id = id;
        this.realName = realName;
        this.userName = userName;
        this.phoneNum = phoneNum;
        this.password = password;
        this.registerTime = registerTime;
        this.experience = experience;
        this.rank = rank;
        this.gold = gold;
        this.email = email;
        this.address = address;
        this.gender = gender;
        this.age = age;
        this.certificateNo = certificateNo;
        this.certificateType = certificateType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Integer getExperience() {
        return experience;
    }

    public void setExperience(Integer experience) {
        this.experience = experience;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Integer getGold() {
        return gold;
    }

    public void setGold(Integer gold) {
        this.gold = gold;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public void setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
    }

    public String getCertificateType() {
        return certificateType;
    }

    public void setCertificateType(String certificateType) {
        this.certificateType = certificateType;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", realName='" + realName + '\'' +
                ", userName='" + userName + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", password='" + password + '\'' +
                ", registerTime=" + registerTime +
                ", experience=" + experience +
                ", rank=" + rank +
                ", gold=" + gold +
                ", email='" + email + '\'' +
                ", address='" + address + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", certificateNo='" + certificateNo + '\'' +
                ", certificateType='" + certificateType + '\'' +
                '}';
    }
}
